package com.ruoyi.youtian.service;

import com.ruoyi.youtian.domain.PointEquipment;

import java.util.List;


/**
 * 点位与设备关联Service接口
 *
 * @author ruoyi
 * @date 2022-09-15
 */
public interface IPointEquipmentService
{
    /**
     * 查询点位与设备关联
     *
     * @param id 点位与设备关联主键
     * @return 点位与设备关联
     */
    public PointEquipment selectPointEquipmentById(Long id);

    /**
     * 查询点位与设备关联列表
     *
     * @param pointEquipment 点位与设备关联
     * @return 点位与设备关联集合
     */
    public List<PointEquipment> selectPointEquipmentList(PointEquipment pointEquipment);

    /**
     * 新增点位与设备关联
     *
     * @param pointEquipment 点位与设备关联
     * @return 结果
     */
    public int insertPointEquipment(PointEquipment pointEquipment);

    /**
     * 修改点位与设备关联
     *
     * @param pointEquipment 点位与设备关联
     * @return 结果
     */
    public int updatePointEquipment(PointEquipment pointEquipment);

    /**
     * 批量删除点位与设备关联
     *
     * @param ids 需要删除的点位与设备关联主键集合
     * @return 结果
     */
    public int deletePointEquipmentByIds(Long[] ids);

    /**
     * 删除点位与设备关联信息
     *
     * @param id 点位与设备关联主键
     * @return 结果
     */
    public int deletePointEquipmentById(Long id);

    /**
     * 删除点位设备绑定
     * @param pointEquipment
     * @return
     */
    public int deletePointEquipment(PointEquipment pointEquipment);
}
